<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>WB32L003 Standard Peripherals Firmware Library: wb32l003_rtc.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">WB32L003 Standard Peripherals Firmware Library
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_6d2d5b60bd20db849a9486835a2715aa.html">Libraries</a></li><li class="navelem"><a class="el" href="dir_5ec8cccc32fa528457f3b4ed28e1a2cf.html">WB32L003_StdPeriph_Driver</a></li><li class="navelem"><a class="el" href="dir_cb9a941ec225bfb9bad4e8246158e282.html">inc</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">wb32l003_rtc.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>This file contains all the functions prototypes for the RTC firmware library.  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;wb32l003.h&quot;</code><br />
</div>
<p><a href="wb32l003__rtc_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_r_t_c___time_type_def.html">RTC_TimeTypeDef</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">RTC Time structure definition.  <a href="struct_r_t_c___time_type_def.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_r_t_c___date_type_def.html">RTC_DateTypeDef</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">RTC Date structure definition.  <a href="struct_r_t_c___date_type_def.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_r_t_c___alarm_enable_type_def.html">RTC_AlarmEnableTypeDef</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">RTC ALARM Enable structure definition.  <a href="struct_r_t_c___alarm_enable_type_def.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_r_t_c___alarm_type_def.html">RTC_AlarmTypeDef</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">RTC Alarm structure definition.  <a href="struct_r_t_c___alarm_type_def.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_r_t_c___init_type_def.html">RTC_InitTypeDef</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">RTC Init structures definition.  <a href="struct_r_t_c___init_type_def.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_r_t_c___handle_type_def.html">RTC_HandleTypeDef</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Time Handle Structure definition.  <a href="struct_r_t_c___handle_type_def.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:gab1a861fd858a55a6e815be4585c413d5"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>RTC_HOURFORMAT_24</b>&#160;&#160;&#160;RTC_CR_FMT</td></tr>
<tr class="separator:gab1a861fd858a55a6e815be4585c413d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8da8ecb55e286c410dbf1297a81125ae"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>RTC_HOURFORMAT_12</b>&#160;&#160;&#160;0x00000000U</td></tr>
<tr class="separator:ga8da8ecb55e286c410dbf1297a81125ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga597042eec4479e028c32973bc69f4a26"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_RTC_HOUR_FORMAT</b>(FORMAT)</td></tr>
<tr class="separator:ga597042eec4479e028c32973bc69f4a26"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6bdfe3bed0a57dfafc2d1de785d48a62"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_RTC_HOUR12</b>(HOUR)&#160;&#160;&#160;(((HOUR) &gt; 0) &amp;&amp; ((HOUR) &lt;= 12))</td></tr>
<tr class="separator:ga6bdfe3bed0a57dfafc2d1de785d48a62"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4883613bec76074ac62608b89e3f48a8"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_RTC_HOUR24</b>(HOUR)&#160;&#160;&#160;((HOUR) &lt;= 23)</td></tr>
<tr class="separator:ga4883613bec76074ac62608b89e3f48a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8475ceaf2d35d98be0b3401812aef445"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_RTC_MINUTES</b>(MINUTES)&#160;&#160;&#160;((MINUTES) &lt;= 59)</td></tr>
<tr class="separator:ga8475ceaf2d35d98be0b3401812aef445"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadb5a39d98fc906a8ea035bd29308bc5c"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_RTC_SECONDS</b>(SECONDS)&#160;&#160;&#160;((SECONDS) &lt;= 59)</td></tr>
<tr class="separator:gadb5a39d98fc906a8ea035bd29308bc5c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga86861d15dab24bfbf2ea9c1aec7b492f"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>RTC_H12_AM</b>&#160;&#160;&#160;((uint8_t)0x00)</td></tr>
<tr class="separator:ga86861d15dab24bfbf2ea9c1aec7b492f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga82a5381a1d266841a7fb75820dcad5de"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>RTC_H12_PM</b>&#160;&#160;&#160;((uint8_t)0x01)</td></tr>
<tr class="separator:ga82a5381a1d266841a7fb75820dcad5de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga98f8d66c8fed6039f9a58d78b8c512b5"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_RTC_H12</b>(PM)&#160;&#160;&#160;(((PM) == RTC_H12_AM) || ((PM) == RTC_H12_PM))</td></tr>
<tr class="separator:ga98f8d66c8fed6039f9a58d78b8c512b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae59c9cfe6f9532ab26d74c25bcbe814b"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_RTC_YEAR</b>(YEAR)&#160;&#160;&#160;((YEAR) &lt;= 99)</td></tr>
<tr class="separator:gae59c9cfe6f9532ab26d74c25bcbe814b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2a33537460ebe3cf38bf5e1cf75df306"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>RTC_Month_January</b>&#160;&#160;&#160;((uint8_t)0x01)</td></tr>
<tr class="separator:ga2a33537460ebe3cf38bf5e1cf75df306"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga00224b67848d0c679f1353373061f400"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>RTC_Month_February</b>&#160;&#160;&#160;((uint8_t)0x02)</td></tr>
<tr class="separator:ga00224b67848d0c679f1353373061f400"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga842c0d17229fc43d4571307b8466e50e"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>RTC_Month_March</b>&#160;&#160;&#160;((uint8_t)0x03)</td></tr>
<tr class="separator:ga842c0d17229fc43d4571307b8466e50e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabdf30fd0fafd83af7630bc5e653b876e"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>RTC_Month_April</b>&#160;&#160;&#160;((uint8_t)0x04)</td></tr>
<tr class="separator:gabdf30fd0fafd83af7630bc5e653b876e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1a14ee22b8202e3faefc9b1d41ae91e6"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>RTC_Month_May</b>&#160;&#160;&#160;((uint8_t)0x05)</td></tr>
<tr class="separator:ga1a14ee22b8202e3faefc9b1d41ae91e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3b02772afa467bf8d1e4ccbc64486506"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>RTC_Month_June</b>&#160;&#160;&#160;((uint8_t)0x06)</td></tr>
<tr class="separator:ga3b02772afa467bf8d1e4ccbc64486506"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac1a6c0474aeb703c29bb0f1c22011b01"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>RTC_Month_July</b>&#160;&#160;&#160;((uint8_t)0x07)</td></tr>
<tr class="separator:gac1a6c0474aeb703c29bb0f1c22011b01"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga03e76764a3d7b01ef13c6cdabb6e05c8"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>RTC_Month_August</b>&#160;&#160;&#160;((uint8_t)0x08)</td></tr>
<tr class="separator:ga03e76764a3d7b01ef13c6cdabb6e05c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga49e0cdf9d6f449872944ee63acab3dd0"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>RTC_Month_September</b>&#160;&#160;&#160;((uint8_t)0x09)</td></tr>
<tr class="separator:ga49e0cdf9d6f449872944ee63acab3dd0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga862ea2da95dd5a040ee5e6da1079ccc9"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>RTC_Month_October</b>&#160;&#160;&#160;((uint8_t)0x10)</td></tr>
<tr class="separator:ga862ea2da95dd5a040ee5e6da1079ccc9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0d944af7d193e8bc1bbdfc8764be49cb"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>RTC_Month_November</b>&#160;&#160;&#160;((uint8_t)0x11)</td></tr>
<tr class="separator:ga0d944af7d193e8bc1bbdfc8764be49cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5bda2ebb05c99e18e819c8582592ac00"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>RTC_Month_December</b>&#160;&#160;&#160;((uint8_t)0x12)</td></tr>
<tr class="separator:ga5bda2ebb05c99e18e819c8582592ac00"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7fa60f17b2ae529c35b1fa3dd4d6853f"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_RTC_MONTH</b>(MONTH)&#160;&#160;&#160;(((MONTH) &gt;= 1) &amp;&amp; ((MONTH) &lt;= 12))</td></tr>
<tr class="separator:ga7fa60f17b2ae529c35b1fa3dd4d6853f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3b6e966e144cb0495563ef0283d16510"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_RTC_DATE</b>(DATE)&#160;&#160;&#160;(((DATE) &gt;= 1) &amp;&amp; ((DATE) &lt;= 31))</td></tr>
<tr class="separator:ga3b6e966e144cb0495563ef0283d16510"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2309315f6695a0a99a7ffc6f73fcb4b5"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_RTC_CEN</b>(CEN)&#160;&#160;&#160;((CEN) &lt;= 1)</td></tr>
<tr class="separator:ga2309315f6695a0a99a7ffc6f73fcb4b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7401371e61060e5d5fa2bf81f5369f02"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>RTC_Weekday_Monday</b>&#160;&#160;&#160;((uint8_t)0x00)</td></tr>
<tr class="separator:ga7401371e61060e5d5fa2bf81f5369f02"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga23f9646fb7114c436d4e822b88101757"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>RTC_Weekday_Tuesday</b>&#160;&#160;&#160;((uint8_t)0x01)</td></tr>
<tr class="separator:ga23f9646fb7114c436d4e822b88101757"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa8de8244a8b3e44001871aa74282d3ae"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>RTC_Weekday_Wednesday</b>&#160;&#160;&#160;((uint8_t)0x02)</td></tr>
<tr class="separator:gaa8de8244a8b3e44001871aa74282d3ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac2413b21a6893d2003334f19b59e137d"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>RTC_Weekday_Thursday</b>&#160;&#160;&#160;((uint8_t)0x03)</td></tr>
<tr class="separator:gac2413b21a6893d2003334f19b59e137d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga556885ed7436fd0128e21ff48d7d0044"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>RTC_Weekday_Friday</b>&#160;&#160;&#160;((uint8_t)0x04)</td></tr>
<tr class="separator:ga556885ed7436fd0128e21ff48d7d0044"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafdca8b8c2b9c56f9715efdf6ba96a8a9"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>RTC_Weekday_Saturday</b>&#160;&#160;&#160;((uint8_t)0x05)</td></tr>
<tr class="separator:gafdca8b8c2b9c56f9715efdf6ba96a8a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9a6a6992dfefab667878480f5565c928"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>RTC_Weekday_Sunday</b>&#160;&#160;&#160;((uint8_t)0x06)</td></tr>
<tr class="separator:ga9a6a6992dfefab667878480f5565c928"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf17712ffb0834287f23c19235d53c7ec"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_RTC_WEEKDAY</b>(WEEKDAY)</td></tr>
<tr class="separator:gaf17712ffb0834287f23c19235d53c7ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa0d76a1ae008c8e3602e45a1d4675174"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>RTC_Format_BIN</b>&#160;&#160;&#160;((uint32_t)0x000000000)</td></tr>
<tr class="separator:gaa0d76a1ae008c8e3602e45a1d4675174"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac40ea19c2fee09cf26beaa29140a771e"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>RTC_Format_BCD</b>&#160;&#160;&#160;((uint32_t)0x000000001)</td></tr>
<tr class="separator:gac40ea19c2fee09cf26beaa29140a771e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga05a1ca8558058d71322ccf1045b8fb1c"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_RTC_FORMAT</b>(FORMAT)&#160;&#160;&#160;(((FORMAT) == RTC_Format_BIN) || ((FORMAT) == RTC_Format_BCD))</td></tr>
<tr class="separator:ga05a1ca8558058d71322ccf1045b8fb1c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4cc769dc4d0649ca1cbd2453fa6ac32f"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>RTC_CLOCK_LSE</b>&#160;&#160;&#160;(0x00UL &lt;&lt; RTC_CLKCR_RTCCKSEL_Pos)</td></tr>
<tr class="separator:ga4cc769dc4d0649ca1cbd2453fa6ac32f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabff28664c2fd78869af45c1fdb052530"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>RTC_CLOCK_LIRC</b>&#160;&#160;&#160;(0x01UL &lt;&lt; RTC_CLKCR_RTCCKSEL_Pos)</td></tr>
<tr class="separator:gabff28664c2fd78869af45c1fdb052530"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae3131dc73eef195095b1f0a9df7b2faa"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>RTC_CLOCK_HSE</b>&#160;&#160;&#160;(0x02UL &lt;&lt; RTC_CLKCR_RTCCKSEL_Pos)</td></tr>
<tr class="separator:gae3131dc73eef195095b1f0a9df7b2faa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa97f31fa2ad8afe0786c3c12081284ff"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_RTC_CLK_SOURCE</b>(CLK)</td></tr>
<tr class="separator:gaa97f31fa2ad8afe0786c3c12081284ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac6a275cbe35c7aa1c20be188326b0a9a"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_RTC_HSE_DIV</b>(DIV)&#160;&#160;&#160;(((DIV) &lt;= 0x7F))</td></tr>
<tr class="separator:gac6a275cbe35c7aa1c20be188326b0a9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf936054d0d065a2f254bd52c8625bea4"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>RTC_IT_ALR2</b>&#160;&#160;&#160;((uint32_t)0x00000020)</td></tr>
<tr class="separator:gaf936054d0d065a2f254bd52c8625bea4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf2b1e45bfa5c03558ca60f0dd558d0f6"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>RTC_IT_ALR1</b>&#160;&#160;&#160;((uint32_t)0x00000010)</td></tr>
<tr class="separator:gaf2b1e45bfa5c03558ca60f0dd558d0f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9dacc14e5cef6806a69a6edd094bc151"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_RTC_CONFIG_IT</b>(IT)&#160;&#160;&#160;(((IT) != (uint32_t)RESET) &amp;&amp; (((IT)&amp;0xFFFFFFCF) == (uint32_t)RESET))</td></tr>
<tr class="separator:ga9dacc14e5cef6806a69a6edd094bc151"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2e10d8ccb2aa398ac14bde526f98dbc9"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_RTC_GET_IT</b>(IT)&#160;&#160;&#160;(((IT) == RTC_IT_ALR1) || ((IT) == RTC_IT_ALR1))</td></tr>
<tr class="separator:ga2e10d8ccb2aa398ac14bde526f98dbc9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1289cb21107c648b293aee4a4f8cba70"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_RTC_CLEAR_IT</b>(IT)&#160;&#160;&#160;(((IT) != (uint32_t)RESET) &amp;&amp; (((IT)&amp;0xFFFFFFCF) == (uint32_t)RESET))</td></tr>
<tr class="separator:ga1289cb21107c648b293aee4a4f8cba70"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga94e7062f6fac29f07db68921870a90b0"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>RTC_ALARM_1</b>&#160;&#160;&#160;0x00U</td></tr>
<tr class="separator:ga94e7062f6fac29f07db68921870a90b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga73a40656b61a872362972f72bcd3df2e"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>RTC_ALARM_2</b>&#160;&#160;&#160;0x01U</td></tr>
<tr class="separator:ga73a40656b61a872362972f72bcd3df2e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadb64c7f217af2947977e4964d0df10e2"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>RTC_CLK_SOURCE_LSE</b>&#160;&#160;&#160;(0x00000000)</td></tr>
<tr class="separator:gadb64c7f217af2947977e4964d0df10e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1c08a4473cd198cbe6f2e7df38c11b40"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>RTC_CLK_SOURCE_LIRC</b>&#160;&#160;&#160;(0x00010000)</td></tr>
<tr class="separator:ga1c08a4473cd198cbe6f2e7df38c11b40"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9196ecbfd668cc1760db50c6a74b4093"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>RTC_CLK_SOURCE_HSEDIV</b>&#160;&#160;&#160;(0x00020000)</td></tr>
<tr class="separator:ga9196ecbfd668cc1760db50c6a74b4093"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga00df13c21fac54f3ae1cbe1cb8303dad"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_t_c___alarm2___p_e_r_i_o_d.html#ga00df13c21fac54f3ae1cbe1cb8303dad">RTC_ALARM2_CLOSE</a>&#160;&#160;&#160;((uint8_t)0x00)</td></tr>
<tr class="separator:ga00df13c21fac54f3ae1cbe1cb8303dad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga68cc6db690cf8365d44daf7a331f51f8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_t_c___alarm2___p_e_r_i_o_d.html#ga68cc6db690cf8365d44daf7a331f51f8">RTC_ALARM2_1S</a>&#160;&#160;&#160;((uint8_t)0x01)</td></tr>
<tr class="separator:ga68cc6db690cf8365d44daf7a331f51f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab79a1a37223befe0ec2ec5aa5bb33936"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_t_c___alarm2___p_e_r_i_o_d.html#gab79a1a37223befe0ec2ec5aa5bb33936">RTC_ALARM2_1P2S</a>&#160;&#160;&#160;((uint8_t)0x02)</td></tr>
<tr class="separator:gab79a1a37223befe0ec2ec5aa5bb33936"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6f4e34836abf4507b35ef54245cd4748"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_t_c___alarm2___p_e_r_i_o_d.html#ga6f4e34836abf4507b35ef54245cd4748">RTC_ALARM2_1P4S</a>&#160;&#160;&#160;((uint8_t)0x03)</td></tr>
<tr class="separator:ga6f4e34836abf4507b35ef54245cd4748"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1cf821a3ac35bd74d426a76b6fe8de4b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_t_c___alarm2___p_e_r_i_o_d.html#ga1cf821a3ac35bd74d426a76b6fe8de4b">RTC_ALARM2_1P8S</a>&#160;&#160;&#160;((uint8_t)0x04)</td></tr>
<tr class="separator:ga1cf821a3ac35bd74d426a76b6fe8de4b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga322991cce627338b18fe5cfad696a2e0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_t_c___alarm2___p_e_r_i_o_d.html#ga322991cce627338b18fe5cfad696a2e0">RTC_ALARM2_1P16S</a>&#160;&#160;&#160;((uint8_t)0x05)</td></tr>
<tr class="separator:ga322991cce627338b18fe5cfad696a2e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2e63066f97f2bc39370cfc576f16d5ee"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_t_c___alarm2___p_e_r_i_o_d.html#ga2e63066f97f2bc39370cfc576f16d5ee">RTC_ALARM2_1P32S</a>&#160;&#160;&#160;((uint8_t)0x06)</td></tr>
<tr class="separator:ga2e63066f97f2bc39370cfc576f16d5ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafa5fe310e10ba20b4c7b4b766f1de54b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_t_c___alarm2___p_e_r_i_o_d.html#gafa5fe310e10ba20b4c7b4b766f1de54b">RTC_ALARM2_1P64S</a>&#160;&#160;&#160;((uint8_t)0x07)</td></tr>
<tr class="separator:gafa5fe310e10ba20b4c7b4b766f1de54b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga351305d57cf5004cb03ac5585942f874"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_t_c___alarm2___p_e_r_i_o_d.html#ga351305d57cf5004cb03ac5585942f874">RTC_ALARM2_1P128S</a>&#160;&#160;&#160;((uint8_t)0x08)</td></tr>
<tr class="separator:ga351305d57cf5004cb03ac5585942f874"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9a3463541e95b29b78eb49e535869bf6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_t_c___alarm2___p_e_r_i_o_d.html#ga9a3463541e95b29b78eb49e535869bf6">RTC_ALARM2_10S</a>&#160;&#160;&#160;((uint8_t)0x09)</td></tr>
<tr class="separator:ga9a3463541e95b29b78eb49e535869bf6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga04e74993d1ac3d04007553e79dc351d9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_t_c___alarm2___p_e_r_i_o_d.html#ga04e74993d1ac3d04007553e79dc351d9">RTC_ALARM2_30S</a>&#160;&#160;&#160;((uint8_t)0x0A)</td></tr>
<tr class="separator:ga04e74993d1ac3d04007553e79dc351d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac788bea2c0be6d4ee3ea364236678348"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_t_c___alarm2___p_e_r_i_o_d.html#gac788bea2c0be6d4ee3ea364236678348">RTC_ALARM2_1M</a>&#160;&#160;&#160;((uint8_t)0x0B)</td></tr>
<tr class="separator:gac788bea2c0be6d4ee3ea364236678348"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3256c5d4c9952d51da6bdcd6dff74747"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_t_c___alarm2___p_e_r_i_o_d.html#ga3256c5d4c9952d51da6bdcd6dff74747">RTC_ALARM2_30M</a>&#160;&#160;&#160;((uint8_t)0x0C)</td></tr>
<tr class="separator:ga3256c5d4c9952d51da6bdcd6dff74747"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf7f96f176fecc317898e4f2b4e6f7b1d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_t_c___alarm2___p_e_r_i_o_d.html#gaf7f96f176fecc317898e4f2b4e6f7b1d">RTC_ALARM2_60M</a>&#160;&#160;&#160;((uint8_t)0x0D)</td></tr>
<tr class="separator:gaf7f96f176fecc317898e4f2b4e6f7b1d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga50d8d840df97c3605b415e6faafb8299"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_t_c___alarm2___p_e_r_i_o_d.html#ga50d8d840df97c3605b415e6faafb8299">RTC_ALARM2_12H</a>&#160;&#160;&#160;((uint8_t)0x0E)</td></tr>
<tr class="separator:ga50d8d840df97c3605b415e6faafb8299"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga904db8d6fe488a6eec908919e989cae3"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_t_c___alarm2___p_e_r_i_o_d.html#ga904db8d6fe488a6eec908919e989cae3">RTC_ALARM2_24H</a>&#160;&#160;&#160;((uint8_t)0x0F)</td></tr>
<tr class="separator:ga904db8d6fe488a6eec908919e989cae3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga814cb4e0b19f2073bbea6509bdb296c0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_RTC_ALARM_2_PERIOD</b>(PERIOD)</td></tr>
<tr class="separator:ga814cb4e0b19f2073bbea6509bdb296c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9462993aaae7fe4c57d43600ba5b359e"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>RTC_FLAG_ALR2F</b>&#160;&#160;&#160;RTC_ISR_ALM2_F /* Alarm 2 flag */</td></tr>
<tr class="separator:ga9462993aaae7fe4c57d43600ba5b359e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga75e0ce9f01eb4d2eb4fedfa5b718adb1"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>RTC_FLAG_ALR1F</b>&#160;&#160;&#160;RTC_ISR_ALM1_F /* Alarm 1 flag */</td></tr>
<tr class="separator:ga75e0ce9f01eb4d2eb4fedfa5b718adb1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga78c4245996bef8d5f39226b6e37ed9c0"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>RTC_FLAG_RSF</b>&#160;&#160;&#160;RTC_ISR_RSF    /* Registers Synchronized flag */</td></tr>
<tr class="separator:ga78c4245996bef8d5f39226b6e37ed9c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga865d820e69a0cd93294805fd06012ee1"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>RTC_FLAG_WAITF</b>&#160;&#160;&#160;RTC_ISR_WAITF  /* Initialization mode flag  */</td></tr>
<tr class="separator:ga865d820e69a0cd93294805fd06012ee1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaba806b3af692aee37940811a876417e4"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>RTC_FLAG_WAIT</b>&#160;&#160;&#160;RTC_ISR_WAIT   /* Shift operation pending flag */</td></tr>
<tr class="separator:gaba806b3af692aee37940811a876417e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2126725a0d48f1c40f42566e249620ef"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_RTC_GET_FLAG</b>(FLAG)</td></tr>
<tr class="separator:ga2126725a0d48f1c40f42566e249620ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf6b738783dd125ddda24ea450ddc66c9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_t_c___calib__period.html#gaf6b738783dd125ddda24ea450ddc66c9">RTC_CalibPeriod_60sec</a>&#160;&#160;&#160;((uint32_t)0x00000000)</td></tr>
<tr class="separator:gaf6b738783dd125ddda24ea450ddc66c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae2586aac814dc6feb6893f084d4f75a2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_t_c___calib__period.html#gae2586aac814dc6feb6893f084d4f75a2">RTC_CalibPeriod_30sec</a>&#160;&#160;&#160;((uint32_t)0x00000100)</td></tr>
<tr class="separator:gae2586aac814dc6feb6893f084d4f75a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac30727b805e3a505fe9c6c5cdd582770"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_t_c___calib__period.html#gac30727b805e3a505fe9c6c5cdd582770">RTC_CalibPeriod_15sec</a>&#160;&#160;&#160;((uint32_t)0x00000200)</td></tr>
<tr class="separator:gac30727b805e3a505fe9c6c5cdd582770"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabdaca0107da25934811bf171e652d5b9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_t_c___calib__period.html#gabdaca0107da25934811bf171e652d5b9">RTC_CalibPeriod_6sec</a>&#160;&#160;&#160;((uint32_t)0x00000300)</td></tr>
<tr class="separator:gabdaca0107da25934811bf171e652d5b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae165924c11a3189e5a57256c02609c69"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_RTC_CALIB_PERIOD</b>(PERIOD)</td></tr>
<tr class="separator:gae165924c11a3189e5a57256c02609c69"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad8725604c6c155cf42fc2a4391d10207"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_RTC_CALIB_MINUS</b>(VALUE)&#160;&#160;&#160;((VALUE) &lt;= 0x0000007F)</td></tr>
<tr class="separator:gad8725604c6c155cf42fc2a4391d10207"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga8eb747bf9698b2482ba6ef4d811de8e0"><td class="memItemLeft" align="right" valign="top">ErrorStatus&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_t_c.html#ga8eb747bf9698b2482ba6ef4d811de8e0">RTC_Init</a> (<a class="el" href="struct_r_t_c___init_type_def.html">RTC_InitTypeDef</a> *RTC_InitStruct)</td></tr>
<tr class="memdesc:ga8eb747bf9698b2482ba6ef4d811de8e0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes the RTC registers according to the specified parameters in RTC_InitStruct.  <a href="group___r_t_c.html#ga8eb747bf9698b2482ba6ef4d811de8e0">More...</a><br /></td></tr>
<tr class="separator:ga8eb747bf9698b2482ba6ef4d811de8e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9d4bdfd3ae6957630d15d2497573b7c7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_t_c.html#ga9d4bdfd3ae6957630d15d2497573b7c7">RTC_WriteProtectionCmd</a> (FunctionalState NewState)</td></tr>
<tr class="memdesc:ga9d4bdfd3ae6957630d15d2497573b7c7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables or disables the RTC registers write protection.  <a href="group___r_t_c.html#ga9d4bdfd3ae6957630d15d2497573b7c7">More...</a><br /></td></tr>
<tr class="separator:ga9d4bdfd3ae6957630d15d2497573b7c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga679f8883cbfb267a53ffb1ab4cc5c8c5"><td class="memItemLeft" align="right" valign="top">ErrorStatus&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_t_c.html#ga679f8883cbfb267a53ffb1ab4cc5c8c5">RTC_EnterInitMode</a> (void)</td></tr>
<tr class="memdesc:ga679f8883cbfb267a53ffb1ab4cc5c8c5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enters the RTC Initialization mode.  <a href="group___r_t_c.html#ga679f8883cbfb267a53ffb1ab4cc5c8c5">More...</a><br /></td></tr>
<tr class="separator:ga679f8883cbfb267a53ffb1ab4cc5c8c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga87f86f3b794205f09a1eac51738d900f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_t_c.html#ga87f86f3b794205f09a1eac51738d900f">RTC_ExitInitMode</a> (void)</td></tr>
<tr class="memdesc:ga87f86f3b794205f09a1eac51738d900f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Exits the RTC Initialization mode.  <a href="group___r_t_c.html#ga87f86f3b794205f09a1eac51738d900f">More...</a><br /></td></tr>
<tr class="separator:ga87f86f3b794205f09a1eac51738d900f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2938febeef6baf0d91cc066ca5caf095"><td class="memItemLeft" align="right" valign="top">ErrorStatus&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_t_c.html#ga2938febeef6baf0d91cc066ca5caf095">RTC_WaitForSynchro</a> (void)</td></tr>
<tr class="memdesc:ga2938febeef6baf0d91cc066ca5caf095"><td class="mdescLeft">&#160;</td><td class="mdescRight">Waits until the RTC Time and Date registers (RTC_TR and RTC_DR) are synchronized with RTC APB clock.  <a href="group___r_t_c.html#ga2938febeef6baf0d91cc066ca5caf095">More...</a><br /></td></tr>
<tr class="separator:ga2938febeef6baf0d91cc066ca5caf095"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae5e7c682f15b8ae9ddd3b2a85a9df7db"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_t_c.html#gae5e7c682f15b8ae9ddd3b2a85a9df7db">RTC_BypassShadowCmd</a> (FunctionalState NewState)</td></tr>
<tr class="memdesc:gae5e7c682f15b8ae9ddd3b2a85a9df7db"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables or Disables the Bypass Shadow feature.  <a href="group___r_t_c.html#gae5e7c682f15b8ae9ddd3b2a85a9df7db">More...</a><br /></td></tr>
<tr class="separator:gae5e7c682f15b8ae9ddd3b2a85a9df7db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9f9df80cfa82f7a4dd9f4d0cf2ffb3a6"><td class="memItemLeft" align="right" valign="top">ErrorStatus&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_t_c.html#ga9f9df80cfa82f7a4dd9f4d0cf2ffb3a6">RTC_SetTime</a> (uint32_t RTC_Format, <a class="el" href="struct_r_t_c___time_type_def.html">RTC_TimeTypeDef</a> *RTC_TimeStruct)</td></tr>
<tr class="memdesc:ga9f9df80cfa82f7a4dd9f4d0cf2ffb3a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the RTC current time.  <a href="group___r_t_c.html#ga9f9df80cfa82f7a4dd9f4d0cf2ffb3a6">More...</a><br /></td></tr>
<tr class="separator:ga9f9df80cfa82f7a4dd9f4d0cf2ffb3a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0404db6e0c70e5a6bbbe4fa58a577365"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_t_c.html#ga0404db6e0c70e5a6bbbe4fa58a577365">RTC_TimeStructInit</a> (<a class="el" href="struct_r_t_c___time_type_def.html">RTC_TimeTypeDef</a> *RTC_TimeStruct)</td></tr>
<tr class="memdesc:ga0404db6e0c70e5a6bbbe4fa58a577365"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fills each RTC_TimeStruct member with its default value (Time = 00h:00min:00sec).  <a href="group___r_t_c.html#ga0404db6e0c70e5a6bbbe4fa58a577365">More...</a><br /></td></tr>
<tr class="separator:ga0404db6e0c70e5a6bbbe4fa58a577365"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1fcc101339c77aebd25ec3621fd1b61a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_t_c.html#ga1fcc101339c77aebd25ec3621fd1b61a">RTC_GetTime</a> (uint32_t RTC_Format, <a class="el" href="struct_r_t_c___time_type_def.html">RTC_TimeTypeDef</a> *RTC_TimeStruct)</td></tr>
<tr class="memdesc:ga1fcc101339c77aebd25ec3621fd1b61a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the RTC current Time.  <a href="group___r_t_c.html#ga1fcc101339c77aebd25ec3621fd1b61a">More...</a><br /></td></tr>
<tr class="separator:ga1fcc101339c77aebd25ec3621fd1b61a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga69d08538147f3d89c818dcfabf50e362"><td class="memItemLeft" align="right" valign="top">ErrorStatus&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_t_c.html#ga69d08538147f3d89c818dcfabf50e362">RTC_SetDate</a> (uint32_t RTC_Format, <a class="el" href="struct_r_t_c___date_type_def.html">RTC_DateTypeDef</a> *RTC_DateStruct)</td></tr>
<tr class="memdesc:ga69d08538147f3d89c818dcfabf50e362"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the RTC current date.  <a href="group___r_t_c.html#ga69d08538147f3d89c818dcfabf50e362">More...</a><br /></td></tr>
<tr class="separator:ga69d08538147f3d89c818dcfabf50e362"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6e4e99be910d7759f8910056a2985056"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_t_c.html#ga6e4e99be910d7759f8910056a2985056">RTC_DateStructInit</a> (<a class="el" href="struct_r_t_c___date_type_def.html">RTC_DateTypeDef</a> *RTC_DateStruct)</td></tr>
<tr class="memdesc:ga6e4e99be910d7759f8910056a2985056"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fills each RTC_DateStruct member with its default value (Monday, January 01 xx00).  <a href="group___r_t_c.html#ga6e4e99be910d7759f8910056a2985056">More...</a><br /></td></tr>
<tr class="separator:ga6e4e99be910d7759f8910056a2985056"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga582645d554cdd4a316213e90f0b4c8ae"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_t_c.html#ga582645d554cdd4a316213e90f0b4c8ae">RTC_GetDate</a> (uint32_t RTC_Format, <a class="el" href="struct_r_t_c___date_type_def.html">RTC_DateTypeDef</a> *RTC_DateStruct)</td></tr>
<tr class="memdesc:ga582645d554cdd4a316213e90f0b4c8ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the RTC current date.  <a href="group___r_t_c.html#ga582645d554cdd4a316213e90f0b4c8ae">More...</a><br /></td></tr>
<tr class="separator:ga582645d554cdd4a316213e90f0b4c8ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9115ed448e1f6257f49740f4537dcceb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_t_c.html#ga9115ed448e1f6257f49740f4537dcceb">RTC_SetAlarm1</a> (uint32_t RTC_Format, <a class="el" href="struct_r_t_c___alarm_type_def.html">RTC_AlarmTypeDef</a> *RTC_AlarmStruct)</td></tr>
<tr class="memdesc:ga9115ed448e1f6257f49740f4537dcceb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the specified RTC Alarm1.  <a href="group___r_t_c.html#ga9115ed448e1f6257f49740f4537dcceb">More...</a><br /></td></tr>
<tr class="separator:ga9115ed448e1f6257f49740f4537dcceb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga36ab6199e21fb415ab1ec4d7aa48ba45"><td class="memItemLeft" align="right" valign="top">
void&#160;</td><td class="memItemRight" valign="bottom"><b>RTC_AlarmStructInit</b> (<a class="el" href="struct_r_t_c___alarm_type_def.html">RTC_AlarmTypeDef</a> *RTC_AlarmStruct)</td></tr>
<tr class="separator:ga36ab6199e21fb415ab1ec4d7aa48ba45"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga80aa39f27f82e276c57bdab40819751e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_t_c.html#ga80aa39f27f82e276c57bdab40819751e">RTC_Alarm1Cmd</a> (FunctionalState NewState)</td></tr>
<tr class="memdesc:ga80aa39f27f82e276c57bdab40819751e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables or disables the specified RTC Alarm.  <a href="group___r_t_c.html#ga80aa39f27f82e276c57bdab40819751e">More...</a><br /></td></tr>
<tr class="separator:ga80aa39f27f82e276c57bdab40819751e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9bce346eca2e597e2f87bc5debcc663b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_t_c.html#ga9bce346eca2e597e2f87bc5debcc663b">RTC_GetAlarm1</a> (uint32_t RTC_Format, <a class="el" href="struct_r_t_c___alarm_type_def.html">RTC_AlarmTypeDef</a> *RTC_AlarmStruct)</td></tr>
<tr class="memdesc:ga9bce346eca2e597e2f87bc5debcc663b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the RTC Alarm value and masks.  <a href="group___r_t_c.html#ga9bce346eca2e597e2f87bc5debcc663b">More...</a><br /></td></tr>
<tr class="separator:ga9bce346eca2e597e2f87bc5debcc663b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac2c08f1aeeb664d3d245cb5aca1b8ca8"><td class="memItemLeft" align="right" valign="top">
ErrorStatus&#160;</td><td class="memItemRight" valign="bottom"><b>RTC_AlarmCmd</b> (uint32_t RTC_Alarm, FunctionalState NewState)</td></tr>
<tr class="separator:gac2c08f1aeeb664d3d245cb5aca1b8ca8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gada26ea641cf4e83f592fd4036d955784"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_t_c.html#gada26ea641cf4e83f592fd4036d955784">RTC_SetALARM2Period</a> (uint32_t Period)</td></tr>
<tr class="memdesc:gada26ea641cf4e83f592fd4036d955784"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the specified RTC Alarm2.  <a href="group___r_t_c.html#gada26ea641cf4e83f592fd4036d955784">More...</a><br /></td></tr>
<tr class="separator:gada26ea641cf4e83f592fd4036d955784"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga36d097a72b0f3d0c1bf3250da31230a4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_t_c.html#ga36d097a72b0f3d0c1bf3250da31230a4">RTC_1HZ_Config</a> (FunctionalState NewState)</td></tr>
<tr class="memdesc:ga36d097a72b0f3d0c1bf3250da31230a4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deactive the specified 1HZ out.  <a href="group___r_t_c.html#ga36d097a72b0f3d0c1bf3250da31230a4">More...</a><br /></td></tr>
<tr class="separator:ga36d097a72b0f3d0c1bf3250da31230a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1734325d5de0707b7474f9f073446814"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_t_c.html#ga1734325d5de0707b7474f9f073446814">RTC_CalibConfig</a> (uint32_t RTC_CalibPeriod, uint32_t RTC_CalibMinusPulsesValue)</td></tr>
<tr class="memdesc:ga1734325d5de0707b7474f9f073446814"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configures the Calibration Settings.  <a href="group___r_t_c.html#ga1734325d5de0707b7474f9f073446814">More...</a><br /></td></tr>
<tr class="separator:ga1734325d5de0707b7474f9f073446814"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa8469b33b3a99025baf52f007683b925"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_t_c.html#gaa8469b33b3a99025baf52f007683b925">RTC_ITConfig</a> (uint32_t RTC_IT, FunctionalState NewState)</td></tr>
<tr class="memdesc:gaa8469b33b3a99025baf52f007683b925"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables or disables the specified RTC interrupts.  <a href="group___r_t_c.html#gaa8469b33b3a99025baf52f007683b925">More...</a><br /></td></tr>
<tr class="separator:gaa8469b33b3a99025baf52f007683b925"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaab81adc6d2a5a5c1e37a49707c6bf640"><td class="memItemLeft" align="right" valign="top">
ITStatus&#160;</td><td class="memItemRight" valign="bottom"><b>RTC_GetITStatus</b> (uint32_t RTC_IT)</td></tr>
<tr class="separator:gaab81adc6d2a5a5c1e37a49707c6bf640"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacac6accc75ae54f1b799fa8e7e83ccdb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_t_c.html#gacac6accc75ae54f1b799fa8e7e83ccdb">RTC_ClearITPendingBit</a> (uint32_t RTC_IT)</td></tr>
<tr class="memdesc:gacac6accc75ae54f1b799fa8e7e83ccdb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears the RTC's interrupt pending bits.  <a href="group___r_t_c.html#gacac6accc75ae54f1b799fa8e7e83ccdb">More...</a><br /></td></tr>
<tr class="separator:gacac6accc75ae54f1b799fa8e7e83ccdb"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>This file contains all the functions prototypes for the RTC firmware library. </p>
<dl class="section author"><dt>Author</dt><dd>WestberryTech Application Team </dd></dl>
<dl class="section version"><dt>Version</dt><dd>V0.0.3 </dd></dl>
<dl class="section date"><dt>Date</dt><dd>12-April-2023 </dd></dl>
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by Westberry Technology (ChangZhou) Corp., Ltd. All rights reserved.
</small></address>
</body>
</html>
